package org.jeecg.modules.jiucxljh.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 纠察巡逻计划
 * @Author: jeecg-boot
 * @Date:   2020-09-13
 * @Version: V1.0
 */
@Data
@TableName("ag_jiucxljh")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ag_jiucxljh对象", description="纠察巡逻计划")
public class AgJiucxljh implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**线路名称*/
	@Excel(name = "线路名称", width = 15)
    @ApiModelProperty(value = "线路名称")
    private String xianlmc;
	/**线路时长*/
	@Excel(name = "线路时长", width = 15)
    @ApiModelProperty(value = "线路时长")
    private String xianlsc;
	/**线路类型*/
	@Excel(name = "线路类型", width = 15, dicCode = "xianllx")
	@Dict(dicCode = "xianllx")
    @ApiModelProperty(value = "线路类型")
    private String xianllx;
	/**排班时长*/
	@Excel(name = "排班时长", width = 15)
    @ApiModelProperty(value = "排班时长")
    private String paibsc;
	/**班次*/
	@Excel(name = "班次", width = 15)
    @ApiModelProperty(value = "班次")
    private String banc;
	/**排班类型*/
	@Excel(name = "排班类型", width = 15, dicCode = "paiblx")
	@Dict(dicCode = "paiblx")
    @ApiModelProperty(value = "排班类型")
    private String paiblx;
	/**巡逻日期*/
	@Excel(name = "巡逻日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "巡逻日期")
    private Date xunlrqi;
	/**时间段*/
	@Excel(name = "时间段", width = 15, dicCode = "shijd")
	@Dict(dicCode = "shijd")
    @ApiModelProperty(value = "时间段")
    private String shijd;
	/**单位*/
	@Excel(name = "单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "单位")
    private String danw;
	/**队别*/
	@Excel(name = "队别", width = 15, dicCode = "duib")
	@Dict(dicCode = "duib")
    @ApiModelProperty(value = "队别")
    private String duib;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xingm;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private String dianh;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String beiz;
}
